#include "ohos_media_track.h"

namespace ohoswebrtc {

OHOSMediaTrack::OHOSMediaTrack(
    rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> track)
    : track_(track) {
  RTC_LOG(LS_INFO) << __FUNCTION__ << ": Ctor";
  id_ = track_->id();
  kind_ = track_->kind();
}

OHOSMediaTrack::~OHOSMediaTrack() {
  RTC_LOG(LS_INFO) << __FUNCTION__ << ": Dtor";
}

}  // namespace ohoswebrtc
